package com.roger.springcloud.nacosconfigdemo.config;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @author Roger
 * @since 2021/2/26
 */
@RefreshScope
@Data
@Configuration
public class CommonProperties {

    @Value(value = "${common}")
    private String common;


}
